x86 mce: Clean Intel's MCE handler code
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 10 Jun 2010 07:18:46 +0000 (08:18 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 10 Jun 2010 07:18:46 +0000 (08:18 +0100)
commit240ecd1217150cde16b9483a2e6b92caf4f8200d
treefb90387a6e2722b14c33e3b02be478009e1bf371
parent2cde85c7912f2bdf8a090d84b4278ee369b6673d
x86 mce: Clean Intel's MCE handler code

Add intel_mce_type check according to Intel's SDM.

Reduce intel_memerr_dhandler()'s indent to make code easily read. And
add a page_off action when we offline the page, so that dom0 can knows
about the action taken by xen hypervisor.

Add a default delay mce handler, which will crash if unknow SRAR error
or fatal error, otherwise, system continue.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
xen/arch/x86/cpu/mcheck/mce_intel.c
xen/arch/x86/cpu/mcheck/x86_mca.h